import { get, post } from '@/utils/request';

// 创建订单
export const saveOrder = <T>(data: { productId: Number }): Promise<T> => {
	return post('/order/saveOrder', data) as Promise<T>
}
